package com.hj.collegetravel.dao;

import com.hj.collegetravel.models.CSchool;
import com.hj.collegetravel.models.CSchoolExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CSchoolMapper {
    long countByExample(CSchoolExample example);

    int deleteByExample(CSchoolExample example);

    int deleteByPrimaryKey(Integer sId);

    int insert(CSchool record);

    int insertSelective(CSchool record);

    List<CSchool> selectByExampleWithBLOBs(CSchoolExample example);

    List<CSchool> selectByExample(CSchoolExample example);

    CSchool selectByPrimaryKey(Integer sId);

    int updateByExampleSelective(@Param("record") CSchool record, @Param("example") CSchoolExample example);

    int updateByExampleWithBLOBs(@Param("record") CSchool record, @Param("example") CSchoolExample example);

    int updateByExample(@Param("record") CSchool record, @Param("example") CSchoolExample example);

    int updateByPrimaryKeySelective(CSchool record);

    int updateByPrimaryKeyWithBLOBs(CSchool record);

    int updateByPrimaryKey(CSchool record);
}